package com.springStudy.service;

import java.beans.ConstructorProperties;

public class ServiceD {
    private ServiceC serviceC;

    /**
     * 标明构造函数的参数名称，编译时不开启debug 会导致无法注入。
     * @param serviceC
     */
    @ConstructorProperties({"serviceC"})
    public ServiceD(ServiceC serviceC) {
        this.serviceC = serviceC;
    }
}
